import Vue from 'vue'
import App from './App.vue'
import router from './router'
// 引入动画库
import 'animate.css';
// 引入默认样式文件
import './assets/css/Reset.css'
// 引入axios文件
import './utils/axios.js'
// 引入pinia
import { createPinia, PiniaVuePlugin } from 'pinia'
// 引入vant2组件库
import { IndexBar, IndexAnchor, Cell, DropdownMenu, DropdownItem, Tab, Tabs, TreeSelect, Search, Loading, } from 'vant';
import { Button } from 'vant';

Vue.use(Button);
// Vue.use(Toast)
Vue.use(Loading);
Vue.use(Search);
Vue.use(TreeSelect);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Cell);
Vue.use(IndexBar);
Vue.use(IndexAnchor);



Vue.use(PiniaVuePlugin)

import Vuex from 'vuex'
Vue.use(Vuex)

const pinia = createPinia()

Vue.config.productionTip = false

new Vue({
  router,
  pinia,
  render: h => h(App)
}).$mount('#app')
